package com.ps.entity.setting;

import java.util.List;

import com.ps.pojo.setting.Permission;
import com.ps.pojo.setting.Role;
import com.ps.pojo.setting.RoleOfPermission;

public class RoleDetail {
    private Role role;
    private String inputer;
    private List<Permission> permissions;
	
    
    public RoleDetail(Role role, String inputer,
			List<Permission> permissions) {
		super();
		this.role = role;
		this.inputer = inputer;
		this.setPermissions(permissions);
	}

	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public String getInputer() {
		return inputer;
	}
	public void setInputer(String inputer) {
		this.inputer = inputer;
	}

	public void setPermissions(List<Permission> permissions) {
		this.permissions = permissions;
	}

	public List<Permission> getPermissions() {
		return permissions;
	}

    
    
    
}
